package com.itruth.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class CommonUtil {
	
	private static SimpleDateFormat format = new SimpleDateFormat();
	
	
	public static String getStringDate(Date date) {
		
		format.applyPattern("yyyy-MM-dd HH:mm:ss");
		
		return format.format(date);
		
	}
	
}
